<template>
  <div id="app">
    <!--  追加到元素上nextTick  -->
    <WaterMark3 />
    <!--  自定义指令方式  -->
    <WaterMark2 />
    <!--  局部（全局）导入方式  -->
    <WaterMark1 />
  </div>
</template>

<script>
import WaterMark1 from './components/WaterMark1.vue'
import WaterMark2 from './components/WaterMark2.vue'
import WaterMark3 from './components/WaterMark3.vue'

export default {
  name: 'App',
  components: {
    WaterMark1,
    WaterMark2,
    WaterMark3
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
